package com.whq.thrift.api.web.admin.service.verify;

import java.util.List;
import java.util.Map;

import com.whq.thrift.api.web.admin.db.verify.MerchantApiPermission;

public interface MerchantApiPermissionService {

	public void addMerchantApiPermission(MerchantApiPermission merchantApiPermission);
	
	public void delMerchantApiPermission(int id);
	
	public void updMerchantApiPermission(MerchantApiPermission merchantApiPermission);

	public List<MerchantApiPermission> getMerchantApiPermissionList(Map<String, Object> map);

	public int getMerchantApiPermissionsCount(Map<String, Object> map);
	
	public MerchantApiPermission getMerchantApiPermissionById(int id);

	public MerchantApiPermission getMerchantApiPermissionByName(String merchantName);
	
	public MerchantApiPermission getMerchantApiPermissionByApi(String api);
}
